package com.dabai.iot.core.convert;

import com.dabai.iot.core.dto.ProductTopicInput;
import com.dabai.iot.core.entity.ProductTopicEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 消息主题 Convert
 *
 * @author kev1n
 */
@Mapper
public interface ProductTopicConvert {

    ProductTopicConvert INSTANCE = Mappers.getMapper(ProductTopicConvert.class);

    ProductTopicEntity convert(ProductTopicInput input);

}
